package commons.Exceptions;

import java.sql.Date;

public class dateAlreadyTakenException extends Exception {

	private static final long serialVersionUID = 4150300066689682422L;

	private Date date;

	public dateAlreadyTakenException(Date date) {
		super();
		this.date = date;
	}

	public String toString() {
		return "The date " + this.date + " is already taken! ";
	}
}
